export const setDefaultAddr=(addid,cb)=>{
    $.ajax({
        type: "post",
        url: _setDefaultAddrUrl,
        data: {
            addid:addid
        },
        dataType: "json",
        success: function (res) {
            cb(res);
        }
    });

};


export const removeAddr=(addid,cb)=>{
        $.ajax({
        type: "post",
        url: _removeAddrUrl,
        data: {
            addid:addid
        },
        dataType: "json",
        success: function (res) {
            cb(res);
        }
    });
};